﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Web;

namespace WCFServiceWebRole1.DataObjects
{
    //public class PusherDataContract
    //{
    //}

    [DataContract]
    [Newtonsoft.Json.JsonObject(MemberSerialization = Newtonsoft.Json.MemberSerialization.OptIn)]
    public class SubscribedUsers
    {

        [DataMember, Newtonsoft.Json.JsonProperty]
        public string FullName { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Location { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Organisation { get; set; }
        [DataMember, Newtonsoft.Json.JsonProperty]
        public string Purpose { get; set; }

    }


    [DataContract, Newtonsoft.Json.JsonObject(MemberSerialization = Newtonsoft.Json.MemberSerialization.OptIn)]
    public class SubscriberResponse
    {
        [DataMember(IsRequired = false), Newtonsoft.Json.JsonProperty]
        public string Key { get; set; }
        [DataMember(IsRequired = false), Newtonsoft.Json.JsonProperty]
        public String Channel { get; set; }
        [DataMember(IsRequired = false), Newtonsoft.Json.JsonProperty]
        public String Event { get; set; }
    }

}